package com.engineering.elink.domain;

import io.swagger.annotations.ApiParam;

import java.util.Date;

public class Praise {
	
    private Integer praiseId;

    @ApiParam(value="评论Id",required=true)
    private Integer commentId;

    @ApiParam(value="类别，1-顶，2-踩",required=true,defaultValue="1")
    private Integer type;

    private String userId;

    private Date praiseTime;

    public Integer getPraiseId() {
        return praiseId;
    }

    public void setPraiseId(Integer praiseId) {
        this.praiseId = praiseId;
    }

    public Integer getCommentId() {
        return commentId;
    }

    public void setCommentId(Integer commentId) {
        this.commentId = commentId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public Date getPraiseTime() {
        return praiseTime;
    }

    public void setPraiseTime(Date praiseTime) {
        this.praiseTime = praiseTime;
    }
}